/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.zuq.geocode;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author zuq
 */
public class GisObject {

    public long gid;
    public double lat;
    public double lng;
    public String name;
    public String altname;
    public Map<String, String> tags;

    public GisObject() {
        tags = new HashMap<String, String>();
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final NearStreet other = (NearStreet) obj;
        if (this.gid != other.gid) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        return hash;
    }
}
